package com.vip.database.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.vip.database.entity.SysUserRole;
import org.apache.ibatis.annotations.Param;

/**
 * 用户角色表 Mapper 接口
 *
 * @author LEON
 * @since 2020-04-05
 */
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {
    /**
     * 取消指定用户权限
     *
     * @param roleId
     * @param userId
     * @return
     */
    int deleteUserRoleOne(@Param("roleId") String roleId, @Param("userId") String userId);
}
